SET(exeName mavlink_v1_test)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
PROJECT(${exeName})

#compatibility
if(COMMAND cmake_policy)
	cmake_policy(SET CMP0003 OLD)
	cmake_policy(SET CMP0015 OLD)
endif(COMMAND cmake_policy)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/c_library_v1)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/c_library_v1/common)

SET(EXECUTABLE_OUTPUT_PATH ".")

FILE(GLOB_RECURSE SRC_FILES src/*.c)
message(${exeName})
ADD_EXECUTABLE(${exeName} ${SRC_FILES})
#ADD_EXECUTABLE(${execName} ${SRC_FILES})


